<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <Script src="lib/jquery-3.5.1.js"></Script>
</head>
<body>
<ul id="test-ul">
  <li class="js">javaScript</li>
  <li name="python">Python</li>
</ul>


<script>
  $('#test-ul li[name=python]').text(); //()里有参就是设置，没参就是取值
  $('#test-ul').html();
  $('#test-ul').css("color",'red');


</script>


</body>
</html>